﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DJY.Domain.Entity.WorkFlow
{
    /// <summary>
    /// 节点参数 实体
    /// </summary>
    public class WFNodePropertyEntity
    {
        /// <summary>
        /// 节点ID
        /// </summary>
        [Key]
		[StringLength(36)]
    	public string NodeId
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 参数名
        /// </summary>
        [Key]
		[StringLength(50)]
    	public string Key
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 参数值
        /// </summary>
		[StringLength(16)]
    	public string Value
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 参数中文简称
        /// </summary>
		[StringLength(100)]
    	public string Name
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 流程ID，冗余字段
        /// </summary>
		[StringLength(36)]
    	public string WFID
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 属性类型：0属性，1数据
        /// </summary>
        [Key]
        public byte PropType
        {
            get;set;
        }
        
    }
}
